﻿@model SketchTour.Models.MSVH00Models
@using Resources
@{
    ViewBag.Title = "Edit";
}
<!-- main start-->
<div id="main">
    <!-- InstanceBeginEditable name="EditRegion1" -->
    <h2>@Resource.MSVH00_SCR_TitleEdit</h2>
    <!-- InstanceEndEditable -->
    <div id="Div1" class="success">
    </div>
    @using (Html.BeginForm())
    {
        <div id="error" class="error">
            @Html.ValidationSummary(false, null, htmlAttributes: new { @class = "VL_Message" })
        </div>
        
        <!-- InstanceBeginEditable name="EditRegion2" -->
        <div id="tabs-2">
            <table class="inputForm">
                <tbody>
                    <tr>
                        <th scope="row" class="txt200">
                            <span class="requirement"></span>@Resource.MSVH00_SCR_lblCode
                            <label class="requirement">
                                *</label>
                        </th>
                        <td>
                            @Html.TextBoxFor(model => model.Code, new {@readonly = true, style = "width: 150px;" })
                            @Html.ValidationMessageFor(model => model.Code, " ")
                        </td>
                    </tr>
                    <tr>
                        <th scope="row" class="txt200">
                            <span class="requirement"></span>@Resource.MSVH00_SCR_lblName
                            <label class="requirement">
                                *</label>
                        </th>
                        <td>
                            @Html.TextBoxFor(model => model.Name, new { style = "width: 150px;" })
                            @Html.ValidationMessageFor(model => model.Name, " ")
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">
                            <span class="requirement"></span>@Resource.MSVH00_SCR_lblType
                            <label class="requirement">
                                *</label>
                        </th>
                        <td>
                            @Html.DropDownList("VehicleTypeID", null, String.Empty, new { style = "width:150px" })
                            @Html.ValidationMessageFor(model => model.VehicleTypeID, " ")
                        </td>
                    </tr>
                    <tr>
                        <th scope="row" style="width: 45px;">
                            <span class="requirement"></span>@Resource.MSVH00_SCR_lblTel
                            <label class="requirement">
                                *</label>
                        </th>
                        <td>
                            @Html.TextBoxFor(model => model.Tel, new { style = "width: 150px;" })
                            @Html.ValidationMessageFor(model => model.Tel, " ")
                        </td>
                    </tr>
                    <tr>
                        <th width="100px">
                            <span class="requirement"></span>@Resource.MSVH00_SCR_lblFax
                        </th>
                        <td>
                            @Html.TextBoxFor(model => model.Fax, new { style = "width: 150px;" })
                        </td>
                    </tr>
                    <tr>
                        <th scope="row" style="width: 45px;">
                            <span class="requirement"></span>@Resource.MSVH00_SCR_lblAddress
                            <label class="requirement">
                                *</label>
                        </th>
                        <td>
                            @Html.TextBoxFor(model => model.Address, new { style = "width: 150px;" })
                            @Html.ValidationMessageFor(model => model.Address, " ")
                        </td>
                    </tr>
                    <tr>
                        <th width="100px">
                            <span class="requirement"></span>@Resource.MSVH00_SCR_lblNote
                        </th>
                        <td>
                            @Html.TextAreaFor(model => model.Note, new { style = "width: 150px;" })
                        </td>
                </tbody>
            </table>
        </div>
        <input type="submit" value="@Resource.Common_MGS_btnSave" />
    }
    <input type="submit" value="@Resource.Common_MGS_btnBack" class="btn50" onclick="history.go(-1);return true;" />
    <!-- InstanceEndEditable -->
</div>
<!-- main end-->
